import { addColumnEllipsis, dateRender } from "utils/common";
const columnWidth = 80;

let columns = [
  {
    dataIndex: "username",
    title: "会员昵称"
  },
  {
    dataIndex: "mobile",
    title: "会员电话"
  },
  {
    dataIndex: "type",
    title: "记录类型",
    scopedSlots: { customRender: "type" },
  },
  {
    dataIndex: "score",
    title: "本次积分"
  },
  {
    dataIndex: "before",
    title: "变更前积分"
  },
  {
    dataIndex: "after",
    title: "当前积分"
  },
  {
    dataIndex: "changeDate",
    title: "变更时间"
  },
  {
    dataIndex: "remark",
    title: "备注"
  },

  {
    dataIndex: "operation",
    title: "操作",
    scopedSlots: { customRender: "operation" }
  }
];
columns = addColumnEllipsis(columns);
export default columns;
